package cn.com.xjnt.vas.manage.service;

import java.util.List;

import com.frameworks.core.service.BaseService;

import cn.com.xjnt.vas.manage.domain.entity.Account;
import cn.com.xjnt.vas.manage.domain.entity.Role;

public interface AccountService extends BaseService<Account, Long> {
	List<Role> findRoles(Account entity);
	Account findByUsername(String username);
	void updatePassword(Long id, String plainPassword, String newPassword);
	void resetPassword(Long id, String newPassword);
}
